home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Language/OS - Multiplatform Resource Library
/
LANGUAGE OS.iso
/
lisp
/
elk-2_0.lha
/
elk-2.0
/
util
/
pchb.c
< prev
next >
Wrap
C/C++ Source or Header
|
1992-10-11
|
298b
|
15 lines
extern char *sbrk();
#define VALMASK ((1 << 24) - 1)
main() {
char *p = sbrk(0);
if ((unsigned long)p & ~VALMASK)
printf("pointer_constant_high_bits=0x%lx\n",
(unsigned long)p & ~VALMASK);
else
printf("no pointer_constant_high_bits on this architecture.\n");
return 0;
}